/*
* @author dumeng
*/
'use strict'
import request from '@/utils/request'

/**
 * 统计数量信息
 * @param data
 * @returns {*}
 */
export function getTopInfo(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/solicitationInfo/solicitationStatistic',
    method: 'post',
    data
  })
}
/**
 * 作品列表
 * @param data
 * @returns {*}
 */
export function queryPage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/solicitationInfo/queryPageStatistic',
    method: 'post',
    data
  })
}

export function get(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/awardWinningWorks/get',
    method: 'post',
    data
  })
}

/**
 * 导出统计--脱敏
 */
export function exportMask(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/solicitationInfo/worksStatisticExportMasking',
    method: 'post',
    responseType: 'blob',
    data
  })
}
/**
 * 导出统计--不脱敏
 */
export function exportNoMask(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/solicitationInfo/worksStatisticExportNoMasking',
    method: 'post',
    responseType: 'blob',
    data
  })
}

